package gameObjects;

public class Infantry extends Unit {


	public Infantry(String  player) {
		super(player);
		init();
	}

	@Override
	public String toString() {
		return "Infantry "+player;
	}

	private void init(){
		switch(this.player){

		case "BLUE":
			imageString= "units\\blue\\infantry.png";
			break;
		case "ORANGE":
			imageString= "units\\orange\\infantry.png";
			break;
		default:
			imageString= "units\\blue\\infantry.png";
			break;
		}

		hp=10;
		damage=4;
		range=2;
		gold =5;
	}
}
